<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%@ taglib prefix="s"   uri="/struts-tags"%>
 <%@ taglib prefix="sx"  uri="/struts-dojo-tags"%>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
     <head>
         <title>采热成本</title> 
         <sx:head/>     
         <style type="text/css">
    		@import "css/table.css";
		</style>  
     </head>
    <body>
        <s:form action="Price1Action.action" theme="simple">
       采热成本维护|<a href="Price1Action!toGetPriceList.action">公司采热成本列表</a>
   
            <table>
            
                <tr>
                    <td style="text-align:right">
                    热源地
                    </td>
                    <td>
                        <s:select  label="选择公司"  list="#session.company_list_suply" name="price1.comId" listKey="id" listValue="comName" headerKey="" headerValue="---" emptyOption="false" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                       车辆
                    </td>
                    <td>
                         <s:select  label="选择车辆"  list="#session.car_list" name="price1.carId" listKey="id" listValue="num" headerKey="" headerValue="---" emptyOption="false"  />
                        
                        <!--   <s:textfield name="price1.carId" label="车辆" />-->
                    </td>
                </tr>
                <tr>
                   <td style="text-align:right">
                        蒸汽类型
                    </td>
                    <td>
                       <!--  <s:textfield name="price1.extattr1" label="属性1" /> -->
                        
                        <s:select label="蒸汽类型" list="#session.map_steam"
							name="price1.extattr1" listKey="key" listValue="value"
							headerKey="-1" headerValue="选择蒸汽类型" emptyOption="false" />
                    </td>
                </tr>
          <tr>
                <tr>
                    <td style="text-align:right">
                        请输入单价
                    </td>
                    <td>
                       <s:textfield name="price1.price" label="单价" />
                    </td>
                </tr>
                <tr>
                   <td style="text-align:right">
                        请输入计量单位
                    </td>
                    <td>
                        <s:textfield name="price1.piece" label="计量单位" />
                    </td>
                </tr>
                
              <tr>
                   <td style="text-align:right">
                      
                    </td>
                    <td>
                    
                    <sx:datetimepicker label="失效日期" name="price1.invalidationDate" displayFormat="yyyy-MM-dd"/> 
                     <!--  <s:date name="price1.invalidationDate" format="yyyy-MM-dd" /> -->  
                    </td>
                </tr>
             <tr>
                   <td style="text-align:right">
                        请输入备注
                    </td>
                    <td>
                        <s:textfield name="price1.remark" label="备注" />
                    </td>
                </tr>
    
         <!--
                   <td style="text-align:right">
            所属分公司
                    </td>
                    <td>
                        <s:textfield name="price1.extattr2" label="属性2" />
                    </td>
          </tr>   
            <tr>
                   <td style="text-align:right">
                        属性3
                    </td>
                    <td>
                        <s:textfield name="price1.extattr3" label="属性3" />
                    </td>
          </tr>   
            <tr>
                   <td style="text-align:right">
                        属性4
                    </td>
                    <td>
                        <s:textfield name="price1.extattr4" label="属性4" />
                    </td>
          </tr>   
              <tr>
                   <td style="text-align:right">
                        属性5
                    </td>
                    <td>
                        <s:textfield name="price1.extattr5" label="属性5" />
                    </td>
          </tr>   
         -->        
           <tr>
                    <td style="text-align:right">
                        <s:submit value="保存"  />
                    </td>
                    <td style="text-align:left">
                        <s:reset value="取消"/>
                    </td>
                    
                      <td style="text-align:left">
                        ${price1.price} ${saveFlag}
                    </td>
                    
                </tr>
            </table>
        </s:form>
        <s:fielderror cssStyle="color:red"/>
    </body>
</html>
